/**
 * 로그인/아웃 처리
 */
function titleinit()
{
	var btnlogin;
	var btnlogout;
	
	btnlogin=document.getElementById('btnlogin');
	btnlogout=document.getElementById('btnlogout');
	
	if(btnlogin != null)
	{
		btnlogin.onclick=function()
		{
			var f = document.frm;
			if(f.mid.value==''||f.pwd.value=='')
			{
				alert('id와 암호 확인바람');
			}
			else
			{
				f.submit();
				//location.href='../member/login.jsp';
			}
		}
	}
	if(btnlogout != null)
	{
		btnlogout.onclick=function()
		{
			location.href='../member/logout.jsp';
		}
	}
}